﻿using System;
using System.Reflection;
using System.Linq.Expressions;

namespace CoreEx.Database.Linq
{
    /// <summary>
    /// Represents a class that is capable of determining the member that represents 
    /// the relation that should be loaded alogn with the root type.
    /// </summary>
    public interface ILoadExpressionResolver
    {        
        MemberExpression GetMemberInfo(Expression expression, Type declaringType);
    }
}
